package com.kk.aopdemo.service;

import com.kk.aopdemo.anotation.SysLog;
import com.kk.aopdemo.pojo.SysLogBO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author MH
 */
@Slf4j
@Service
public class SysLogService {

    @SysLog
    public void add(SysLogBO sysLogBO) {
        log.info(sysLogBO.getParams());

//        throw new RuntimeException("diy exception");

    }


}
